package com.yu.shortlink.admin.dto.resp;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yu.shortlink.admin.serializer.PhoneDesensitizationSerializer;
import lombok.Data;

/**
 * @Author yushiwang
 * @Date 2024/3/26 23:20
 * @PackageName:com.yu.shortlink.admin.dto.resp
 * @ClassName: UserRespDTO
 * @Version 1.0
 */
@Data
public class UserRespDTO {

    //ID
    private Long id;


    //用户名
    private String username;


    //真实姓名
    private String realName;

    //手机号
    @JsonSerialize(using = PhoneDesensitizationSerializer.class)
    private String phone;

    //邮箱
    private String mail;



}
